package com.yuanqunsoft.alimigration.bean;

public class RuleImplementBean {

    private Integer ruleImpId;
    private Integer rulId;
    private String rulName;
    private String className;
    private Integer parseEngineType;

    public Integer getRuleImpId() {
        return ruleImpId;
    }

    public void setRuleImpId(Integer ruleImpId) {
        this.ruleImpId = ruleImpId;
    }

    public Integer getRulId() {
        return rulId;
    }

    public void setRulId(Integer rulId) {
        this.rulId = rulId;
    }

    public String getRulName() {
        return rulName;
    }

    public void setRulName(String rulName) {
        this.rulName = rulName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getParseEngineType() {
        return parseEngineType;
    }

    public void setParseEngineType(Integer parseEngineType) {
        this.parseEngineType = parseEngineType;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((parseEngineType == null) ? 0 : parseEngineType.hashCode());
        result = prime * result + ((rulName == null) ? 0 : rulName.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        RuleImplementBean other = (RuleImplementBean) obj;
        if (parseEngineType == null) {
            if (other.parseEngineType != null)
                return false;
        } else if (!parseEngineType.equals(other.parseEngineType))
            return false;
        if (rulName == null) {
            if (other.rulName != null)
                return false;
        } else if (!rulName.equals(other.rulName))
            return false;
        return true;
    }

}
